﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using  System.Data;
using DONGACS.DAO;
namespace DONGACS.SERVICE
{
    public class HoChieuService
    {
        HoChieuDao hcd= new HoChieuDao();
        public DataTable HoChieuHetHanSuDung(string tungay,string denngay)
        {
            DataTable dt = hcd.HoChieuHetHanSuDung(tungay, denngay);
            return dt;
        }
        public DataTable HoChieuConHanSuDung(string tungay, string denngay)
        {
            DataTable dt = hcd.HoChieuconHetHanSuDung(tungay, denngay);
            return dt;
        }
        public DataTable DanhSachNhanHoChieu(string tungay, string denngay, int LoaiHoChieu, int statusloc)
        {
            DataTable dt = hcd.DanhSachNhanHoChieu(tungay, denngay,LoaiHoChieu,statusloc);
            return dt;
        }
        public DataTable DanhSachGiaoHoChieu(string tungay, string denngay, int LoaiHoChieu, int statusloc)
        {
            DataTable dt = hcd.DanhSachGiaoHoChieu(tungay, denngay, LoaiHoChieu, statusloc);
            return dt;
        }
        public DataTable DanhSachChuaNopHoChieu(string tungay, string denngay, int LoaiHoChieu, int statusloc)
        {
            DataTable dt = hcd.DanhSachNhanHoChieu(tungay, denngay, LoaiHoChieu, statusloc);
            return dt;
        }
        public DataTable DanhSachHoChieu7ngaychuanop()
        {
            DataTable dt = hcd.DanhSachHoChieu7ngaychuanop();
            return dt;
        }
        public DataTable DanhSachHoChieu1NamHetHan()
        {
            DataTable dt = hcd.DanhSachHoChieu7ngaychuanop();
            return dt;
        }
        public DataTable DanhSachTongHoChieu()
        {
            DataTable dt = hcd.DanhSachTongHoChieu();
            return dt;
        }
    }
}
